package com.xindacloud.sms.adapter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@TableName
public class SmsUserAllowOperator implements Serializable {

    private static final long serialVersionUID = 1571732399035L;

    /**
     * 主键
     * 流水号UUID
     * isNullAble:0
     */
    @TableId(type = IdType.UUID)
    private String allowOperatorId;

    /**
     * 用户ID
     * isNullAble:0
     */
    private Integer userId;

    private String operatorId;

    /**
     * 短信通信代理商ID
     * isNullAble:0
     */
    private String agentId;

    /**
     * 国家简称编码如CN
     * isNullAble:0
     */
    private String countryCode;

    /**
     * 国家名称如China
     * isNullAble:0
     */
    private String countryName;

    private String countryDisplayName;

    /**
     * 网络如46000-46003
     * isNullAble:1
     */
    private String networkCode;

    /**
     * 网络区域码如46002,46004,46007,46008
     * isNullAble:1
     */
    private String networkAliases;

    /**
     * 运营商名称如China Mobile China Unicom China Telecom
     * isNullAble:1
     */
    private String networkName;

    /**
     * 前缀如86
     * isNullAble:1
     */
    private String prefix;

    /**
     * 成本价
     * isNullAble:0
     */
    private BigDecimal costPrice;

    /**
     * 售价
     * isNullAble:0,
     */
    private BigDecimal price;


    /**
     * 默认价格
     * isNullAble:1
     */
    private BigDecimal defaultPrice;


    /**
     * 货币单位
     * isNullAble:1
     */
    private String currency;

    /**
     * Landline固定电话,mobile移动电话
     * isNullAble:1
     */
    private String type;
    private String mnc;
    private String mcc;

    /**
     * true为开启，false为关闭
     * isNullAble:1,defaultVal:1
     */
    private Boolean status;

    /**
     * 创建时间
     * isNullAble:1,defaultVal:CURRENT_TIMESTAMP
     */
    private java.time.LocalDateTime createTime;
    /**
     * 最后更新时间
     * isNullAble:1,defaultVal:CURRENT_TIMESTAMP
     */
    private java.time.LocalDateTime lastUpdateTime;


}
